﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace FaWorks.WebSite.Controllers
{
    public class KnowledgeController : Controller
    {
        //
        // GET: /Knowledge/
        public ActionResult Index(string something)
        {
            if (String.IsNullOrEmpty(something))
            {
                return View("Type", KlDB.KnowledgeTypes);
            }

            if (something.ToLower() == "User".ToLower()) {
                return View("User");
            }

            return View("Index");
        }

        private KlDataBase KlDB = new KlDataBase();
    }
}
